package com.sh.data.engine.domain.dataasset.model.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * description :
 *
 * @author : mingxi.xpb
 * @date : 2022/3/2 19:24
 */
@Data
public class DataMapQueryResultPageDomain {

    private List<DataMapQueryDomain> dataQueryDomainList;

    private List<ThemeValue> themeValues;

    private Long pageNum;

    private Long totalElements;

    private Long pageSize;

    private Long totalPages;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class DataMapQueryDomain {

        private String subject;

        private String subjectVaues;

        private List<String> fieldNameList;

        private List<Object> fieldValueList;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class ThemeValue {

        private String key;

        private Integer value;
    }
}
